package com.ruoyi.nucleicacid.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 核酸注册对象 nc_register
 * 
 * @author ruoyi
 * @date 2022-10-06
 */
public class UserRegister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 电话 */
    @Excel(name = "电话")
    private String number;

    /** 微信 */
    @Excel(name = "微信")
    private String wechat;

    /** 楼栋 */
    @Excel(name = "楼栋")
    private Long floorid;

    /** 住址 */
    @Excel(name = "住址")
    private String household;

    /** 住户id */
    @Excel(name = "住户id")
    private Long holdid;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setWechat(String wechat) 
    {
        this.wechat = wechat;
    }

    public String getWechat() 
    {
        return wechat;
    }
    public void setFloorid(Long floorid) 
    {
        this.floorid = floorid;
    }

    public Long getFloorid() 
    {
        return floorid;
    }
    public void setHousehold(String household) 
    {
        this.household = household;
    }

    public String getHousehold() 
    {
        return household;
    }
    public void setHoldid(Long holdid) 
    {
        this.holdid = holdid;
    }

    public Long getHoldid() 
    {
        return holdid;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sex", getSex())
            .append("number", getNumber())
            .append("wechat", getWechat())
            .append("floorid", getFloorid())
            .append("household", getHousehold())
            .append("holdid", getHoldid())
            .append("password", getPassword())
            .toString();
    }
}
